package com.chy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chy.common.R;
import com.chy.entity.Router;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface RouterService extends IService<Router> {
    R<Router> getRouter(Map<String, Object> params);

    R<String> addRouter(HttpServletRequest request, Map<String, Object> params);

    R<String> updateRouter(HttpServletRequest request, Map<String, Object> params);

    R<String> deleteRouter(HttpServletRequest request, Map<String, Object> params);
}
